package cn.iocoder.yudao.module.project.controller.admin.productioncode.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;

@Data
public class ReportBO extends PageParam {
    @Schema(description = "订单编号", example = "芋艿")
    private String orderCode;

    @Schema(description = "产品编号,用于查询条件", example = "芋艿")
    private String productCode;

    @Schema(description = "物料编码,用于查询条件", example = "芋艿")
    private String materialCode;

    @Schema(description = "成品型号", example = "芋艿")
    private String type;

    @Schema(description = "批次码", example = "芋艿")
    private String batchCode;

    @Schema(description = "箱码", example = "芋艿")
    private String cartonCode;

    @Schema(description = "供应商编码")
    private String supplierId;

    @Schema(description = "查询日期,用于查询条件")
    private String[] dateReq;

    @Schema(description = "查询开始日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private Date startDate;

    @Schema(description = "查询结束日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private Date endDate;

    @Schema(description = "内码编号")
    private String internalCode;

    @Schema(description = "出库单号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22436")
    private String exCode;

}
